package org.ushio.nchu_22201406.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface packageRecordDao {



    @Insert("INSERT INTO package_record (Package_ID, Phone_Number, Purchase_Date) " +
            "VALUES (#{packageId}, #{phoneNumber}, #{purchaseDate})")
    void insertPackageRecord(
            @Param("phoneNumber") String phoneNumber,
            @Param("packageId") long packageId,
            @Param("purchaseDate") java.util.Date purchaseDate
    );
}
